package com.offcn.order.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 支付日志
 * @author 秋林
 *
 * @author 秋林
 * @date 2022/10/16 20:42:57
 */
@ApiModel(description = "PayLog",value = "PayLog")
@TableName(value="tb_pay_log")
public class PayLog implements Serializable{

	/**
	 * 支付订单号
	 */
	@ApiModelProperty(value = "支付订单号",required = false)
    @TableId(type = IdType.INPUT)
    @TableField(value = "out_trade_no")
	private String outTradeNo;

	/**
	 * 创建日期
	 */
	@ApiModelProperty(value = "创建日期",required = false)
    @TableField(value = "create_time")
	private Date createTime;

	/**
	 * 支付完成时间
	 */
	@ApiModelProperty(value = "支付完成时间",required = false)
    @TableField(value = "pay_time")
	private Date payTime;

	/**
	 * 支付金额（分）
	 */
	@ApiModelProperty(value = "支付金额（分）",required = false)
    @TableField(value = "total_fee")
	private Long totalFee;

	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID",required = false)
    @TableField(value = "user_id")
	private String userId;

	/**
	 * 交易号码
	 */
	@ApiModelProperty(value = "交易号码",required = false)
    @TableField(value = "transaction_id")
	private String transactionId;

	/**
	 * 交易状态
	 */
	@ApiModelProperty(value = "交易状态",required = false)
    @TableField(value = "trade_state")
	private String tradeState;

	/**
	 * 订单编号列表
	 */
	@ApiModelProperty(value = "订单编号列表",required = false)
    @TableField(value = "order_list")
	private String orderList;

	/**
	 * 支付类型
	 */
	@ApiModelProperty(value = "支付类型",required = false)
    @TableField(value = "pay_type")
	private String payType;




	public String getOutTradeNo() { 	//get方法
		return outTradeNo;
	}


	public void setOutTradeNo(String outTradeNo) {	//set方法
		this.outTradeNo = outTradeNo;
	}

	public Date getCreateTime() {	//get方法
		return createTime;
	}


	public void setCreateTime(Date createTime) {	//set方法
		this.createTime = createTime;
	}

	public Date getPayTime() {	//get方法
		return payTime;
	}


	public void setPayTime(Date payTime) {	//set方法
		this.payTime = payTime;
	}

	public Long getTotalFee() {	//get方法
		return totalFee;
	}


	public void setTotalFee(Long totalFee) {	//set方法
		this.totalFee = totalFee;
	}

	public String getUserId() {	//get方法
		return userId;
	}


	public void setUserId(String userId) {	//set方法
		this.userId = userId;
	}

	public String getTransactionId() {	//get方法
		return transactionId;
	}


	public void setTransactionId(String transactionId) {	//set方法
		this.transactionId = transactionId;
	}

	public String getTradeState() {	//get方法
		return tradeState;
	}


	public void setTradeState(String tradeState) {	//set方法
		this.tradeState = tradeState;
	}

	public String getOrderList() {	//get方法
		return orderList;
	}


	public void setOrderList(String orderList) {	//set方法
		this.orderList = orderList;
	}

	public String getPayType() {//get方法
		return payType;
	}


	public void setPayType(String payType) {	//set方法
		this.payType = payType;
	}


}
